<template>
	<view class="container">
		<view class="line"></view>
		<image :src="url"></image>
		<view class="title">{{title}}</view>
		<view class="btn">返回</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				state :true,
				success: this.$mAssetsPath.success,
				error: this.$mAssetsPath.error,
				url:'',
				title:''
			}
		},
		onLoad() {
			if(this.state){
				this.url = this.success
				this.title = '提现成功'
				uni.setNavigationBarTitle({
				    title: '提现成功'
				});
			}else{
				this.url = this.error
				this.title = '提现失败'
				uni.setNavigationBarTitle({
				    title: '提现失败'
				});
			}
			
		},
		methods: {
			
		}
	}
</script>

<style scoped lang="scss">
	.container{
		display: flex;
		flex-direction: column;
		align-items: center;
		image{
			width: 160upx;
			height: 160upx;
			margin-top: 88upx;
		}
		.btn {
			width: 662upx;
			height: 80upx;
			background-color: #AB61FF;
			border-radius: 40upx;
			line-height: 80upx;
			text-align: center;
			color: #fff;
			font-size: 32upx;
			margin-top: 100upx;
		}
		.title{
			color:#0D1D36;
			font-size: 36upx;
			font-weight: Bold;
			line-height: 36upx;
			margin-top: 30upx;
		}
		.line{
			width: 100%;
			height: 20upx;
			background-color: #F5F5F9;
		}
	}
</style>
